{
    "resourceType": "Bundle",
    "id": "BundleDispansCase5Stage3",
    "meta": {
        "profile": [
            "https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument"
        ]
    },
    "identifier": {
        "system": "https://fhir.by/ValueSet/urn:ietf:rfc:3987",
        "value": "urn:uuid:6c3151bd-1cbf-4d64-b04d-cd9187a4c6t9"
    },
    "type": "document",
    "timestamp": "2026-02-22T15:00:00Z",
    "entry": [
        {
            "fullUrl": "Composition/CompositionBundleDispansCase5Stage3",
            "resource": {
                "resourceType": "Composition",
                "id": "CompositionBundleDispansCase5Stage3",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/CompDocument"
                    ]
                },
                "status": "final",
                "type": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/CompositionType",
                            "code": "general",
                            "display": "Общая медицинская информация"
                        }
                    ]
                },
                "subject": [
                    {
                        "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
                    }
                ],
                "encounter": {
                    "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000"
                },
                "date": "2026-02-22T15:00:00Z",
                "author": [
                    {
                        "reference": "Practitioner/00000000-0000-0000-0000-000000000000"
                    }
                ],
                "title": "CompDocument о диспансеризации ребёнка до 1 месяца. Третий этап",
                "custodian": {
                    "reference": "Organization/00000000-0000-0000-0000-000000000000"
                },
                "event": [
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Condition/ea-00000000-0000-0000-0000-000000000000"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "CarePlan/ca-00000000-0000-0000-0000-000000000000"
                                }
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "Patient/pa-00000000-0000-0000-0000-000000000000",
            "resource": {
                "resourceType": "Patient",
                "id": "PatientForDispansNewBornChild",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"
                    ]
                },
                "extension": [
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/ConsentPersonalDataBoolean",
                                "valueBoolean": true
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/ConsentPersonalDataPeriod",
                                "valuePeriod": {
                                    "start": "2026-02-02"
                                }
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/ConsentPersonalData"
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/PatientBirthDateTime",
                        "valueDateTime": "2026-02-01T11:00:21Z"
                    }
                ],
                "identifier": [
                    {
                        "use": "usual",
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/PersonalDocumentType",
                                    "code": "INP"
                                }
                            ]
                        },
                        "value": "7001112A009PB3"
                    }
                ],
                "active": true,
                "name": [
                    {
                        "family": "Семёнова",
                        "given": [
                            "Анастасия",
                            "Петровна"
                        ]
                    }
                ],
                "gender": "female",
                "birthDate": "2026-02-01",
                "deceasedBoolean": false,
                "address": [
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/CoutryForAddresses",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/CitizenshipCode",
                                            "code": "BY",
                                            "display": "Беларусь"
                                        }
                                    ]
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/StreetGeoRegistry",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/StreetGeoRegistry",
                                            "code": "72609920778",
                                            "display": "Переулок Снежный"
                                        }
                                    ]
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/ApartmentRoom",
                                "valueString": "кв. 11"
                            }
                        ],
                        "use": "home",
                        "text": "Могилевская область, г.Могилев, Переулок Гоголя, д.19",
                        "postalCode": "212011"
                    }
                ],
                "maritalStatus": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/MaritalStatus",
                            "code": "unmarried"
                        }
                    ]
                },
                "contact": [
                    {
                        "relationship": [
                            {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/RelatedPersonType",
                                        "code": "parent"
                                    }
                                ]
                            }
                        ],
                        "name": {
                            "family": "Семёнов",
                            "given": [
                                "Пётр",
                                "Иванович"
                            ]
                        },
                        "telecom": [
                            {
                                "system": "phone",
                                "value": "80295478831"
                            }
                        ],
                        "address": {
                            "extension": [
                                {
                                    "url": "https://fhir.by/StructureDefinition/StreetGeoRegistry",
                                    "valueCodeableConcept": {
                                        "coding": [
                                            {
                                                "system": "https://fhir.by/ValueSet/StreetGeoRegistry",
                                                "code": "72609920778",
                                                "display": "Переулок Снежный"
                                            }
                                        ]
                                    }
                                },
                                {
                                    "url": "https://fhir.by/StructureDefinition/ApartmentRoom",
                                    "valueString": "кв. 11"
                                }
                            ],
                            "text": "Могилевская область, г.Могилев, Переулок Гоголя, д.19"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "Condition/ExampleDiagnosisDispanNewBornChild",
            "resource": {
                "resourceType": "Condition",
                "id": "ExampleDiagnosisDispanNewBornChild",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/FinalDiagnosis"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/KindOfDiagnosis",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Final"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AssertedDate",
                        "valueDateTime": "2026-02-02"
                    }
                ],
                "clinicalStatus": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/InternClassificDiseases10",
                            "code": "Z00.0",
                            "display": "Z00.0 - Общий медицинский осмотр"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
                },
                "onsetDateTime": "2026-02-02",
                "recordedDate": "2026-02-02",
                "participant": [
                    {
                        "actor": {
                            "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "CarePlan/ExampleDispNewBornChild3",
            "resource": {
                "resourceType": "CarePlan",
                "id": "ExampleDispNewBornChild3",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/Dispanserisation"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/DispanserisationGroup",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/HealthGroup",
                                    "code": "ch1",
                                    "display": "I группа здоровья"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/NextDispanserisationDate",
                        "valueDate": "2026-03-01"
                    }
                ],
                "identifier": [
                    {
                        "value": "Д1241",
                        "period": {
                            "start": "2026-02-01"
                        },
                        "assigner": {
                            "reference": "Organization/00000000-0000-0000-0000-000000000000"
                        }
                    }
                ],
                "replaces": [
                    {
                        "reference": "CarePlan/ca-00000000-0000-0000-0000-000000000000"
                    }
                ],
                "status": "completed",
                "intent": "plan",
                "category": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/DispanserisationSchema",
                                "code": "ch1",
                                "display": "диспансеризация детей до 1 месяца"
                            }
                        ]
                    }
                ],
                "title": "Карта диспансерного наблюдения пациента",
                "subject": {
                    "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
                },
                "encounter": {
                    "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000"
                },
                "period": {
                    "start": "2026-02-01",
                    "end": "2026-02-28"
                },
                "created": "2026-02-22",
                "custodian": {
                    "reference": "Organization/00000000-0000-0000-0000-000000000000"
                },
                "contributor": [
                    {
                        "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
                    }
                ],
                "addresses": [
                    {
                        "concept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/TypeOfDiagnosis",
                                    "code": "mainDiagnosis",
                                    "display": "Основной диагноз"
                                }
                            ]
                        },
                        "reference": {
                            "reference": "Condition/ea-00000000-0000-0000-0000-000000000000"
                        }
                    }
                ],
                "activity": [
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/DispanserisationActivityCode",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/DispActivityCodeChildOne",
                                            "code": "ch-one-1"
                                        }
                                    ]
                                }
                            }
                        ],
                        "performedActivity": [
                            {
                                "reference": {
                                    "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000",
                                    "display": "Осмотр врачом-педиатром участковым на дому 02.02.2026"
                                }
                            }
                        ]
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/DispanserisationActivityCode",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/DispActivityCodeChildOne",
                                            "code": "ch-one-2"
                                        }
                                    ]
                                }
                            }
                        ],
                        "performedActivity": [
                            {
                                "concept": {
                                    "text": "Осмотр медицинской сестрой на дому 02.02.2026"
                                }
                            }
                        ]
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/DispanserisationActivityCode",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/DispActivityCodeChildOne",
                                            "code": "ch-one-2"
                                        }
                                    ]
                                }
                            }
                        ],
                        "plannedActivityReference": {
                            "reference": "ServiceRequest/sr-00000000-0000-0000-0000-000000000000",
                            "display": "Патронаж медсестры участковой 08.02.2026"
                        },
                        "performedActivity": [
                            {
                                "concept": {
                                    "text": "Осмотр медицинской сестрой на дому 08.02.2026"
                                }
                            }
                        ]
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/DispanserisationActivityCode",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/DispActivityCodeChildOne",
                                            "code": "ch-one-2"
                                        }
                                    ]
                                }
                            }
                        ],
                        "plannedActivityReference": {
                            "reference": "ServiceRequest/sr-00000000-0000-0000-0000-000000000000",
                            "display": "Патронаж медсестры участковой 16.02.2026"
                        },
                        "performedActivity": [
                            {
                                "concept": {
                                    "text": "Осмотр медицинской сестрой на дому 16.02.2026"
                                }
                            }
                        ]
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/DispanserisationActivityCode",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/DispActivityCodeChildOne",
                                            "code": "ch-one-1"
                                        }
                                    ]
                                }
                            }
                        ],
                        "plannedActivityReference": {
                            "reference": "ServiceRequest/sr-00000000-0000-0000-0000-000000000000",
                            "display": "Осмотр врачом-педиатром участковым 16.02.2026"
                        },
                        "performedActivity": [
                            {
                                "reference": {
                                    "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000",
                                    "display": "Осмотр врачом-педиатром участковым 16.02.2026"
                                }
                            }
                        ]
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/DispanserisationActivityCode",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/DispActivityCodeChildOne",
                                            "code": "ch-one-2"
                                        }
                                    ]
                                }
                            }
                        ],
                        "plannedActivityReference": {
                            "reference": "ServiceRequest/sr-00000000-0000-0000-0000-000000000000",
                            "display": "Патронаж медсестры участковой 22.02.2026"
                        },
                        "performedActivity": [
                            {
                                "reference": {
                                    "reference": "Encounter/ea-00000000-0000-0000-0000-000000000000",
                                    "display": "Патронаж медсестры участковой 22.02.2026"
                                }
                            }
                        ]
                    }
                ],
                "note": [
                    {
                        "text": "Следующая диспансеризация по схеме: 1 месяц"
                    }
                ]
            }
        },
        {
            "fullUrl": "Encounter/ExampleEncounterNurse2202",
            "resource": {
                "resourceType": "Encounter",
                "id": "ExampleEncounterNurse2202",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/EncounterGeneral"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/EncounterTypeOfVisit",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/EncounterTypeOfVisit",
                                    "code": "primary",
                                    "display": "Первичное"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/EncounterTypeOfService",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/EncounterTypeOfService",
                                    "code": "free",
                                    "display": "Бесплатные услуги"
                                }
                            ]
                        }
                    }
                ],
                "status": "completed",
                "class": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/VSTermsOfService",
                                "code": "1",
                                "display": "амбулаторные"
                            }
                        ]
                    }
                ],
                "priority": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/HealthCareForms",
                            "code": "planned",
                            "display": "Плановая медицинская помощь"
                        }
                    ]
                },
                "type": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/TypeOfHealthCare",
                                "code": "primary",
                                "display": "Первичная медицинская помощь"
                            }
                        ]
                    }
                ],
                "subject": {
                    "reference": "Patient/pa-00000000-0000-0000-0000-000000000000"
                },
                "serviceProvider": {
                    "reference": "Organization/00000000-0000-0000-0000-000000000000"
                },
                "participant": [
                    {
                        "actor": {
                            "reference": "PractitionerRole/00000000-0000-0000-0000-000000000000"
                        }
                    }
                ],
                "actualPeriod": {
                    "start": "2026-02-22T15:30:00Z",
                    "end": "2026-02-22T15:30:00Z"
                },
                "diagnosis": [
                    {
                        "condition": [
                            {
                                "reference": {
                                    "reference": "Condition/ea-00000000-0000-0000-0000-000000000000",
                                    "display": "Z00.0 - Общий медицинский осмотр"
                                }
                            }
                        ],
                        "use": [
                            {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDiagnosis",
                                        "code": "mainDiagnosis",
                                        "display": "Основной диагноз"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        }
    ]
}